// 切换qa与正式环境
// var isQA = "https://";
var isQA = "https://qa-";

var url = '';
var weixinurl = '';
var guessurl = '';
var imgcodeurl = '';
var shopurl = '';

if (isQA.indexOf('qa') == -1) {
    // 正式
    url = 'https://user.funhainan.com/';
    weixinurl = 'http://qawx.funhainan.com:8080/api/CollectCard/GetCodeUrlDome';
    guessurl = 'https://user.funhainan.com/api/webbets/newGuessingUrl';
    imgcodeurl = 'https://user.funhainan.com/';
    // 商城正式
    shopurl = 'https://lqhn-shop.funhainan.com/';
} else {
    //  测试
    url = 'https://qa-userservice.funhainan.com/';
    weixinurl = 'http://qawx.funhainan.com:8080/api/CollectCard/GetCodeUrlDomeHttp';
    guessurl = 'https://qa-userservice.funhainan.com/api/webbets/newGuessingUrl';
    imgcodeurl = 'https://qa-userservice.funhainan.com/';
    // 商城测试
    shopurl = 'https://qa-lqhn-shop.funhainan.com/';
}

export {
    isQA,
    imgcodeurl,
    shopurl
};
export var baseurl = url;
export var wxurl = weixinurl;
export var guessingUrl = guessurl;
export var baseImgUrl = 'https://shopimg.funhainan.com/';